import Topbanner from '../component/TopBanner/index.js'
import TextMoreButton from '../component/TextMoreButton/index.js'
import EnhanceButton  from '../component/EnhanceButton/index.js'
import VideoButton from '../component/VideoButton/index.js'
import Swiper from '../component/Swiper/index.js'
import Aside from '../component/Aside/index.js'
import './index.scss'

function changeFontSize() {
    var fontSize = ((document.documentElement.clientWidth > 750 ? 750 : document.documentElement.clientWidth) * 16) / 375
    fontSize = fontSize.toFixed(3) + 'px'
    return fontSize
}
document.documentElement.style.fontSize = changeFontSize()
window.addEventListener('resize', () => {
    document.documentElement.style.fontSize = changeFontSize()
})
export { Topbanner, TextMoreButton, EnhanceButton, VideoButton, Swiper, Aside }
